package top.malaoshi.mapper;


import org.apache.ibatis.annotations.Mapper;
import top.malaoshi.entity.Goods;

import java.util.List;

//在dao中，方法的形参、返回类型，一般都应是实体类
@Mapper
public interface IGoodsMapper {
/*    public int add(Goods goods);
    public int updateById(String id);
    public Goods queryById(String id);
    public int update(Goods goods);*/
    public List<Goods> query();
    public int updateCommentNumById(String id);
    public Goods showById(String id);
}
